<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
<table id="aaa" >
  <tbody>
  	<td class="column-1">1</td>
  	<td class="column-1">2</td>
  	<td class="column-1">3</td>
  	<td class="column-1">4</td>
  	<td class="column-1">5</td>
  	<td class="column-1">6</td>
  	<td class="column-1">7</td>
  	<td class="column-1">8</td>
  	<td class="column-1">9</td>
  </tbody>
</table>
<script>
  var aaa = document.querySelector('#aaa');
  var tbody = aaa.querySelector('tbody');
  var tds = aaa.querySelectorAll('td');
  var len = tds.length;
  var index = 0;

  tbody.innerHTML = '';
  for (var i = 0, l = Math.ceil(len / 2); i < l; i++) {
    var tr = document.createElement('tr');
    for (var j = 0; j < 2; j++) {
      if (tds[index] === undefined) {
        var td = document.createElement('td');
        tr.appendChild(td);
      } else {
        tr.appendChild(tds[index]);
      }
      index++;
    }
    tbody.appendChild(tr);
  }

</script>
</body>
</html>
